package com.gip.service;

import com.gip.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserService {
    //根据id查询用户
    User findUserById(int id);

    //查询全部用户
    List<User> findAllUser();


    public int upDateUser(User user);

    public int deleteUser(int id);

    public int conutUser();

    public List<User> findUserByIf(Map map);

    public int addUser(User user);

    public int deleteUsers(List list);
}
